package va.radiomaria.audio;

/**
 * Helper class to manage genres
 */
public enum Genre {
	METAL("metal"),
	CLASSIC("classic"),
	POP("pop"),
	ROCK("rock");
	
	private String stringValue;
	
	private Genre(String value) {
		this.stringValue = value;
	}
	
	public static String[] getAllStringValues(){
		String[] allStrings = new String[Genre.values().length];
		for(int i = 0; i < Genre.values().length; i++){
			allStrings[i] = Genre.values()[i].stringValue;
		}
		return allStrings;
	}
	
	public static Genre[] getAllGenres(){
		return Genre.values();
	}
	
	public String getStringValue(){
		return stringValue;
	}
}
